package beans;

import java.util.ArrayList;
import java.util.List;

public class Project {

	public int id;
	public String title;
	public List tasks;
	public Person manager;
	
	public Project() {
		tasks = new ArrayList();
	}

	public Project(int id, String title) {
		this(id, title, null);
	}
	
	public Project(int id, String title, Person manager) {
		super();
		this.id = id;
		this.title = title;
		this.tasks = new ArrayList();
		this.manager = manager;
	}
	
	public class Task {
		
		public int id;
		public String status;
		public int sequence;
		public String description;
		
		public Task() {	}

		public Task(int id, String status, int sequence, String description) {
			super();
			this.id = id;
			this.status = status;
			this.sequence = sequence;
			this.description = description;
		}
		
	}
	
}
